<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh', [
                            'generate' => ['javascript:;', 'btn btn-success btn-generate', 'fa fa-qrcode', '生成二维码', '生成二维码'],
                            'batchgenerate' => ['javascript:;', 'btn btn-success btn-batchgenerate', 'fa fa-qrcode', '批量生成', '批量生成二维码'],
                            'regenerate' => ['javascript:;', 'btn btn-warning btn-regenerate', 'fa fa-refresh', '重新生成', '重新生成二维码'],
                            'download' => ['javascript:;', 'btn btn-info btn-download', 'fa fa-download', '下载', '下载二维码'],
                            'batchdownload' => ['javascript:;', 'btn btn-info btn-batchdownload', 'fa fa-download', '批量下载', '批量下载二维码'],
                            'print' => ['javascript:;', 'btn btn-primary btn-print', 'fa fa-print', '打印', '打印二维码'],
                            'scanstats' => ['javascript:;', 'btn btn-default btn-scanstats', 'fa fa-bar-chart', '扫码统计', '扫码统计']
                        ])}
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('scanwork/qrcodemanager/edit')}" 
                           data-operate-del="{:$auth->check('scanwork/qrcodemanager/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
